import request from '@/utils/request'

// 查询实验向导列表
export function listTdmShiYanXiangDao(query) {
  return request({
    url: '/tdm/TdmShiYanXiangDao/list',
    method: 'get',
    params: query
  })
}

// 查询实验向导详细
export function getTdmShiYanXiangDao(id) {
  return request({
    url: '/tdm/TdmShiYanXiangDao/' + id,
    method: 'get'
  })
}

// 新增实验向导
export function addTdmShiYanXiangDao(data) {
  return request({
    url: '/tdm/TdmShiYanXiangDao',
    method: 'post',
    data: data
  })
}

// 修改实验向导
export function updateTdmShiYanXiangDao(data) {
  return request({
    url: '/tdm/TdmShiYanXiangDao',
    method: 'put',
    data: data
  })
}

// 删除实验向导
export function delTdmShiYanXiangDao(id) {
  return request({
    url: '/tdm/TdmShiYanXiangDao/' + id,
    method: 'delete'
  })
}
// 审核
export function to_examine(id,shenHe,pinZhong) {
  const data = {id, shenHe,pinZhong}
  return request({
    url: '/admin/examine',
    method: 'put',
    data:data
  })
}
